Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.mlflow: 2.14.3 -> 2.16.2 #347104

Merged
merged 4 commits into from
Oct 13, 2024

Conversation

GaetanLepage
Copy link
Contributor

@GaetanLepage GaetanLepage commented Oct 7, 2024

Things done

I was not able to get the tests working.
-> Should I leave the draft of my attempt in the derivation in case somebody wants to give it a try ?

  • python312Packages.databricks-sdk: init at 0.33.0
  • python312Packages.mlflow: 2.14.3 -> 2.16.2
  • mlflow-server: 2.14.3 -> 2.16.2
  • mlflow-server: format with nixfmt

cc @tbenst

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

'';

gunicornScript = writeText "gunicornMlflow" ''
#!/usr/bin/env python
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#!/usr/bin/env python
#!${python.interpreter}

Why is that not in the entrypoint of the build system?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea... I applied your suggestion.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try adding an entrypoint to setup.cfg or pyptoject.toml?
It would be really cool to avoid the python code hete

@GaetanLepage GaetanLepage force-pushed the mlflow-master branch 2 times, most recently from 900bb29 to c8bb670 Compare October 7, 2024 15:33
@GaetanLepage
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 347104


x86_64-linux

⏩ 8 packages marked as broken and skipped:
  • python311Packages.llama-index
  • python311Packages.llama-index-readers-file
  • python311Packages.llama-index-readers-file.dist
  • python311Packages.llama-index-readers-s3
  • python311Packages.llama-index-readers-s3.dist
  • python311Packages.llama-index.dist
  • python311Packages.private-gpt
  • python311Packages.private-gpt.dist
❌ 89 packages failed to build:
  • aider-chat
  • aider-chat.dist
  • dbx
  • dbx.dist
  • python311Packages.cltk
  • python311Packages.cltk.dist
  • python311Packages.dalle-mini
  • python311Packages.dalle-mini.dist
  • python311Packages.fastai
  • python311Packages.fastai.dist
  • python311Packages.k-diffusion
  • python311Packages.k-diffusion.dist
  • python311Packages.llama-index-agent-openai
  • python311Packages.llama-index-agent-openai.dist
  • python311Packages.llama-index-cli
  • python311Packages.llama-index-cli.dist
  • python311Packages.llama-index-core
  • python311Packages.llama-index-core.dist
  • python311Packages.llama-index-embeddings-gemini
  • python311Packages.llama-index-embeddings-gemini.dist
  • python311Packages.llama-index-embeddings-google
  • python311Packages.llama-index-embeddings-google.dist
  • python311Packages.llama-index-embeddings-huggingface
  • python311Packages.llama-index-embeddings-huggingface.dist
  • python311Packages.llama-index-embeddings-ollama
  • python311Packages.llama-index-embeddings-ollama.dist
  • python311Packages.llama-index-embeddings-openai
  • python311Packages.llama-index-embeddings-openai.dist
  • python311Packages.llama-index-graph-stores-nebula
  • python311Packages.llama-index-graph-stores-nebula.dist
  • python311Packages.llama-index-graph-stores-neo4j
  • python311Packages.llama-index-graph-stores-neo4j.dist
  • python311Packages.llama-index-graph-stores-neptune
  • python311Packages.llama-index-graph-stores-neptune.dist
  • python311Packages.llama-index-indices-managed-llama-cloud
  • python311Packages.llama-index-indices-managed-llama-cloud.dist
  • python311Packages.llama-index-legacy
  • python311Packages.llama-index-legacy.dist
  • python311Packages.llama-index-llms-ollama
  • python311Packages.llama-index-llms-ollama.dist
  • python311Packages.llama-index-llms-openai
  • python311Packages.llama-index-llms-openai-like
  • python311Packages.llama-index-llms-openai-like.dist
  • python311Packages.llama-index-llms-openai.dist
  • python311Packages.llama-index-multi-modal-llms-openai
  • python311Packages.llama-index-multi-modal-llms-openai.dist
  • python311Packages.llama-index-program-openai
  • python311Packages.llama-index-program-openai.dist
  • python311Packages.llama-index-question-gen-openai
  • python311Packages.llama-index-question-gen-openai.dist
  • python311Packages.llama-index-readers-database
  • python311Packages.llama-index-readers-database.dist
  • python311Packages.llama-index-readers-json
  • python311Packages.llama-index-readers-json.dist
  • python311Packages.llama-index-readers-llama-parse
  • python311Packages.llama-index-readers-llama-parse.dist
  • python311Packages.llama-index-readers-twitter
  • python311Packages.llama-index-readers-twitter.dist
  • python311Packages.llama-index-readers-txtai
  • python311Packages.llama-index-readers-txtai.dist
  • python311Packages.llama-index-readers-weather
  • python311Packages.llama-index-readers-weather.dist
  • python311Packages.llama-index-vector-stores-chroma
  • python311Packages.llama-index-vector-stores-chroma.dist
  • python311Packages.llama-index-vector-stores-google
  • python311Packages.llama-index-vector-stores-google.dist
  • python311Packages.llama-index-vector-stores-postgres
  • python311Packages.llama-index-vector-stores-postgres.dist
  • python311Packages.llama-index-vector-stores-qdrant
  • python311Packages.llama-index-vector-stores-qdrant.dist
  • python311Packages.llama-parse
  • python311Packages.llama-parse.dist
  • python311Packages.skrl
  • python311Packages.skrl.dist
  • python311Packages.spacy
  • python311Packages.spacy-loggers
  • python311Packages.spacy-loggers.dist
  • python311Packages.spacy-lookups-data
  • python311Packages.spacy-lookups-data.dist
  • python311Packages.spacy-transformers
  • python311Packages.spacy-transformers.dist
  • python311Packages.spacy.dist
  • python311Packages.textacy
  • python311Packages.textacy.dist
  • python311Packages.textnets
  • python311Packages.textnets.dist
  • python311Packages.wandb
  • python311Packages.wandb.dist
  • vimPlugins.aider-nvim
✅ 18 packages built:
  • mlflow-server
  • mlflow-server.dist
  • python311Packages.databricks-sdk
  • python311Packages.databricks-sdk.dist
  • python311Packages.mlflow
  • python311Packages.mlflow.dist
  • python311Packages.mmcv
  • python311Packages.mmcv.dist
  • python311Packages.mmengine
  • python311Packages.mmengine.dist
  • python312Packages.databricks-sdk
  • python312Packages.databricks-sdk.dist
  • python312Packages.mlflow
  • python312Packages.mlflow.dist
  • python312Packages.mmcv
  • python312Packages.mmcv.dist
  • python312Packages.mmengine
  • python312Packages.mmengine.dist

aarch64-linux

⏩ 22 packages marked as broken and skipped:
  • python311Packages.llama-index
  • python311Packages.llama-index-cli
  • python311Packages.llama-index-cli.dist
  • python311Packages.llama-index-readers-file
  • python311Packages.llama-index-readers-file.dist
  • python311Packages.llama-index-readers-s3
  • python311Packages.llama-index-readers-s3.dist
  • python311Packages.llama-index-vector-stores-chroma
  • python311Packages.llama-index-vector-stores-chroma.dist
  • python311Packages.llama-index.dist
  • python311Packages.mmcv
  • python311Packages.mmcv.dist
  • python311Packages.mmengine
  • python311Packages.mmengine.dist
  • python311Packages.private-gpt
  • python311Packages.private-gpt.dist
  • python312Packages.mmcv
  • python312Packages.mmcv.dist
  • python312Packages.mmengine
  • python312Packages.mmengine.dist
  • tts
  • tts.dist
❌ 83 packages failed to build:
  • aider-chat
  • aider-chat.dist
  • dbx
  • dbx.dist
  • python311Packages.cltk
  • python311Packages.cltk.dist
  • python311Packages.fastai
  • python311Packages.fastai.dist
  • python311Packages.k-diffusion
  • python311Packages.k-diffusion.dist
  • python311Packages.llama-index-agent-openai
  • python311Packages.llama-index-agent-openai.dist
  • python311Packages.llama-index-core
  • python311Packages.llama-index-core.dist
  • python311Packages.llama-index-embeddings-gemini
  • python311Packages.llama-index-embeddings-gemini.dist
  • python311Packages.llama-index-embeddings-google
  • python311Packages.llama-index-embeddings-google.dist
  • python311Packages.llama-index-embeddings-huggingface
  • python311Packages.llama-index-embeddings-huggingface.dist
  • python311Packages.llama-index-embeddings-ollama
  • python311Packages.llama-index-embeddings-ollama.dist
  • python311Packages.llama-index-embeddings-openai
  • python311Packages.llama-index-embeddings-openai.dist
  • python311Packages.llama-index-graph-stores-nebula
  • python311Packages.llama-index-graph-stores-nebula.dist
  • python311Packages.llama-index-graph-stores-neo4j
  • python311Packages.llama-index-graph-stores-neo4j.dist
  • python311Packages.llama-index-graph-stores-neptune
  • python311Packages.llama-index-graph-stores-neptune.dist
  • python311Packages.llama-index-indices-managed-llama-cloud
  • python311Packages.llama-index-indices-managed-llama-cloud.dist
  • python311Packages.llama-index-legacy
  • python311Packages.llama-index-legacy.dist
  • python311Packages.llama-index-llms-ollama
  • python311Packages.llama-index-llms-ollama.dist
  • python311Packages.llama-index-llms-openai
  • python311Packages.llama-index-llms-openai-like
  • python311Packages.llama-index-llms-openai-like.dist
  • python311Packages.llama-index-llms-openai.dist
  • python311Packages.llama-index-multi-modal-llms-openai
  • python311Packages.llama-index-multi-modal-llms-openai.dist
  • python311Packages.llama-index-program-openai
  • python311Packages.llama-index-program-openai.dist
  • python311Packages.llama-index-question-gen-openai
  • python311Packages.llama-index-question-gen-openai.dist
  • python311Packages.llama-index-readers-database
  • python311Packages.llama-index-readers-database.dist
  • python311Packages.llama-index-readers-json
  • python311Packages.llama-index-readers-json.dist
  • python311Packages.llama-index-readers-llama-parse
  • python311Packages.llama-index-readers-llama-parse.dist
  • python311Packages.llama-index-readers-twitter
  • python311Packages.llama-index-readers-twitter.dist
  • python311Packages.llama-index-readers-txtai
  • python311Packages.llama-index-readers-txtai.dist
  • python311Packages.llama-index-readers-weather
  • python311Packages.llama-index-readers-weather.dist
  • python311Packages.llama-index-vector-stores-google
  • python311Packages.llama-index-vector-stores-google.dist
  • python311Packages.llama-index-vector-stores-postgres
  • python311Packages.llama-index-vector-stores-postgres.dist
  • python311Packages.llama-index-vector-stores-qdrant
  • python311Packages.llama-index-vector-stores-qdrant.dist
  • python311Packages.llama-parse
  • python311Packages.llama-parse.dist
  • python311Packages.skrl
  • python311Packages.skrl.dist
  • python311Packages.spacy
  • python311Packages.spacy-loggers
  • python311Packages.spacy-loggers.dist
  • python311Packages.spacy-lookups-data
  • python311Packages.spacy-lookups-data.dist
  • python311Packages.spacy-transformers
  • python311Packages.spacy-transformers.dist
  • python311Packages.spacy.dist
  • python311Packages.textacy
  • python311Packages.textacy.dist
  • python311Packages.textnets
  • python311Packages.textnets.dist
  • python311Packages.wandb
  • python311Packages.wandb.dist
  • vimPlugins.aider-nvim
✅ 10 packages built:
  • mlflow-server
  • mlflow-server.dist
  • python311Packages.databricks-sdk
  • python311Packages.databricks-sdk.dist
  • python311Packages.mlflow
  • python311Packages.mlflow.dist
  • python312Packages.databricks-sdk
  • python312Packages.databricks-sdk.dist
  • python312Packages.mlflow
  • python312Packages.mlflow.dist

x86_64-darwin

⏩ 98 packages marked as broken and skipped:
  • python311Packages.cltk
  • python311Packages.cltk.dist
  • python311Packages.fastai
  • python311Packages.fastai.dist
  • python311Packages.k-diffusion
  • python311Packages.k-diffusion.dist
  • python311Packages.llama-index
  • python311Packages.llama-index-agent-openai
  • python311Packages.llama-index-agent-openai.dist
  • python311Packages.llama-index-cli
  • python311Packages.llama-index-cli.dist
  • python311Packages.llama-index-core
  • python311Packages.llama-index-core.dist
  • python311Packages.llama-index-embeddings-gemini
  • python311Packages.llama-index-embeddings-gemini.dist
  • python311Packages.llama-index-embeddings-google
  • python311Packages.llama-index-embeddings-google.dist
  • python311Packages.llama-index-embeddings-huggingface
  • python311Packages.llama-index-embeddings-huggingface.dist
  • python311Packages.llama-index-embeddings-ollama
  • python311Packages.llama-index-embeddings-ollama.dist
  • python311Packages.llama-index-embeddings-openai
  • python311Packages.llama-index-embeddings-openai.dist
  • python311Packages.llama-index-graph-stores-nebula
  • python311Packages.llama-index-graph-stores-nebula.dist
  • python311Packages.llama-index-graph-stores-neo4j
  • python311Packages.llama-index-graph-stores-neo4j.dist
  • python311Packages.llama-index-graph-stores-neptune
  • python311Packages.llama-index-graph-stores-neptune.dist
  • python311Packages.llama-index-indices-managed-llama-cloud
  • python311Packages.llama-index-indices-managed-llama-cloud.dist
  • python311Packages.llama-index-legacy
  • python311Packages.llama-index-legacy.dist
  • python311Packages.llama-index-llms-ollama
  • python311Packages.llama-index-llms-ollama.dist
  • python311Packages.llama-index-llms-openai
  • python311Packages.llama-index-llms-openai-like
  • python311Packages.llama-index-llms-openai-like.dist
  • python311Packages.llama-index-llms-openai.dist
  • python311Packages.llama-index-multi-modal-llms-openai
  • python311Packages.llama-index-multi-modal-llms-openai.dist
  • python311Packages.llama-index-program-openai
  • python311Packages.llama-index-program-openai.dist
  • python311Packages.llama-index-question-gen-openai
  • python311Packages.llama-index-question-gen-openai.dist
  • python311Packages.llama-index-readers-database
  • python311Packages.llama-index-readers-database.dist
  • python311Packages.llama-index-readers-file
  • python311Packages.llama-index-readers-file.dist
  • python311Packages.llama-index-readers-json
  • python311Packages.llama-index-readers-json.dist
  • python311Packages.llama-index-readers-llama-parse
  • python311Packages.llama-index-readers-llama-parse.dist
  • python311Packages.llama-index-readers-s3
  • python311Packages.llama-index-readers-s3.dist
  • python311Packages.llama-index-readers-twitter
  • python311Packages.llama-index-readers-twitter.dist
  • python311Packages.llama-index-readers-txtai
  • python311Packages.llama-index-readers-txtai.dist
  • python311Packages.llama-index-readers-weather
  • python311Packages.llama-index-readers-weather.dist
  • python311Packages.llama-index-vector-stores-chroma
  • python311Packages.llama-index-vector-stores-chroma.dist
  • python311Packages.llama-index-vector-stores-google
  • python311Packages.llama-index-vector-stores-google.dist
  • python311Packages.llama-index-vector-stores-postgres
  • python311Packages.llama-index-vector-stores-postgres.dist
  • python311Packages.llama-index-vector-stores-qdrant
  • python311Packages.llama-index-vector-stores-qdrant.dist
  • python311Packages.llama-index.dist
  • python311Packages.llama-parse
  • python311Packages.llama-parse.dist
  • python311Packages.mmcv
  • python311Packages.mmcv.dist
  • python311Packages.mmengine
  • python311Packages.mmengine.dist
  • python311Packages.private-gpt
  • python311Packages.private-gpt.dist
  • python311Packages.skrl
  • python311Packages.skrl.dist
  • python311Packages.spacy
  • python311Packages.spacy-loggers
  • python311Packages.spacy-loggers.dist
  • python311Packages.spacy-lookups-data
  • python311Packages.spacy-lookups-data.dist
  • python311Packages.spacy-transformers
  • python311Packages.spacy-transformers.dist
  • python311Packages.spacy.dist
  • python311Packages.textacy
  • python311Packages.textacy.dist
  • python311Packages.textnets
  • python311Packages.textnets.dist
  • python311Packages.wandb
  • python311Packages.wandb.dist
  • python312Packages.mmcv
  • python312Packages.mmcv.dist
  • python312Packages.mmengine
  • python312Packages.mmengine.dist
❌ 2 packages failed to build:
  • dbx
  • dbx.dist
✅ 10 packages built:
  • mlflow-server
  • mlflow-server.dist
  • python311Packages.databricks-sdk
  • python311Packages.databricks-sdk.dist
  • python311Packages.mlflow
  • python311Packages.mlflow.dist
  • python312Packages.databricks-sdk
  • python312Packages.databricks-sdk.dist
  • python312Packages.mlflow
  • python312Packages.mlflow.dist

aarch64-darwin

⏩ 102 packages marked as broken and skipped:
  • python311Packages.cltk
  • python311Packages.cltk.dist
  • python311Packages.dalle-mini
  • python311Packages.dalle-mini.dist
  • python311Packages.fastai
  • python311Packages.fastai.dist
  • python311Packages.k-diffusion
  • python311Packages.k-diffusion.dist
  • python311Packages.llama-index
  • python311Packages.llama-index-agent-openai
  • python311Packages.llama-index-agent-openai.dist
  • python311Packages.llama-index-cli
  • python311Packages.llama-index-cli.dist
  • python311Packages.llama-index-core
  • python311Packages.llama-index-core.dist
  • python311Packages.llama-index-embeddings-gemini
  • python311Packages.llama-index-embeddings-gemini.dist
  • python311Packages.llama-index-embeddings-google
  • python311Packages.llama-index-embeddings-google.dist
  • python311Packages.llama-index-embeddings-huggingface
  • python311Packages.llama-index-embeddings-huggingface.dist
  • python311Packages.llama-index-embeddings-ollama
  • python311Packages.llama-index-embeddings-ollama.dist
  • python311Packages.llama-index-embeddings-openai
  • python311Packages.llama-index-embeddings-openai.dist
  • python311Packages.llama-index-graph-stores-nebula
  • python311Packages.llama-index-graph-stores-nebula.dist
  • python311Packages.llama-index-graph-stores-neo4j
  • python311Packages.llama-index-graph-stores-neo4j.dist
  • python311Packages.llama-index-graph-stores-neptune
  • python311Packages.llama-index-graph-stores-neptune.dist
  • python311Packages.llama-index-indices-managed-llama-cloud
  • python311Packages.llama-index-indices-managed-llama-cloud.dist
  • python311Packages.llama-index-legacy
  • python311Packages.llama-index-legacy.dist
  • python311Packages.llama-index-llms-ollama
  • python311Packages.llama-index-llms-ollama.dist
  • python311Packages.llama-index-llms-openai
  • python311Packages.llama-index-llms-openai-like
  • python311Packages.llama-index-llms-openai-like.dist
  • python311Packages.llama-index-llms-openai.dist
  • python311Packages.llama-index-multi-modal-llms-openai
  • python311Packages.llama-index-multi-modal-llms-openai.dist
  • python311Packages.llama-index-program-openai
  • python311Packages.llama-index-program-openai.dist
  • python311Packages.llama-index-question-gen-openai
  • python311Packages.llama-index-question-gen-openai.dist
  • python311Packages.llama-index-readers-database
  • python311Packages.llama-index-readers-database.dist
  • python311Packages.llama-index-readers-file
  • python311Packages.llama-index-readers-file.dist
  • python311Packages.llama-index-readers-json
  • python311Packages.llama-index-readers-json.dist
  • python311Packages.llama-index-readers-llama-parse
  • python311Packages.llama-index-readers-llama-parse.dist
  • python311Packages.llama-index-readers-s3
  • python311Packages.llama-index-readers-s3.dist
  • python311Packages.llama-index-readers-twitter
  • python311Packages.llama-index-readers-twitter.dist
  • python311Packages.llama-index-readers-txtai
  • python311Packages.llama-index-readers-txtai.dist
  • python311Packages.llama-index-readers-weather
  • python311Packages.llama-index-readers-weather.dist
  • python311Packages.llama-index-vector-stores-chroma
  • python311Packages.llama-index-vector-stores-chroma.dist
  • python311Packages.llama-index-vector-stores-google
  • python311Packages.llama-index-vector-stores-google.dist
  • python311Packages.llama-index-vector-stores-postgres
  • python311Packages.llama-index-vector-stores-postgres.dist
  • python311Packages.llama-index-vector-stores-qdrant
  • python311Packages.llama-index-vector-stores-qdrant.dist
  • python311Packages.llama-index.dist
  • python311Packages.llama-parse
  • python311Packages.llama-parse.dist
  • python311Packages.mmcv
  • python311Packages.mmcv.dist
  • python311Packages.mmengine
  • python311Packages.mmengine.dist
  • python311Packages.private-gpt
  • python311Packages.private-gpt.dist
  • python311Packages.skrl
  • python311Packages.skrl.dist
  • python311Packages.spacy
  • python311Packages.spacy-loggers
  • python311Packages.spacy-loggers.dist
  • python311Packages.spacy-lookups-data
  • python311Packages.spacy-lookups-data.dist
  • python311Packages.spacy-transformers
  • python311Packages.spacy-transformers.dist
  • python311Packages.spacy.dist
  • python311Packages.textacy
  • python311Packages.textacy.dist
  • python311Packages.textnets
  • python311Packages.textnets.dist
  • python311Packages.wandb
  • python311Packages.wandb.dist
  • python312Packages.mmcv
  • python312Packages.mmcv.dist
  • python312Packages.mmengine
  • python312Packages.mmengine.dist
  • tts
  • tts.dist
❌ 2 packages failed to build:
  • dbx
  • dbx.dist
✅ 10 packages built:
  • mlflow-server
  • mlflow-server.dist
  • python311Packages.databricks-sdk
  • python311Packages.databricks-sdk.dist
  • python311Packages.mlflow
  • python311Packages.mlflow.dist
  • python312Packages.databricks-sdk
  • python312Packages.databricks-sdk.dist
  • python312Packages.mlflow
  • python312Packages.mlflow.dist

@GaetanLepage
Copy link
Contributor Author

I have no idea why, but this update seems to break a single test of wandb:

=================================== FAILURES ===================================
__________________________________ test_dcgm ___________________________________
[gw6] linux -- Python 3.11.9 /nix/store/zy22nlap6gznpjhqry4w0hgw5mf62q3f-python3-3.11.9/bin/python3.11

test_settings = <function test_settings.<locals>.update_test_settings at 0x7ffe829840e0>

    def test_dcgm(test_settings):
        with mock.patch.object(
            wandb.sdk.internal.system.assets.open_metrics.requests.Session,
            "get",
            mocked_requests_get,
        ):
            interface = AssetInterface()
            settings = SettingsStatic(
                test_settings(
                    dict(
                        _stats_sample_rate_seconds=1,
                        _stats_samples_to_average=1,
                    )
                ).to_proto()
            )
            shutdown_event = threading.Event()

            url = "http://localhost:9400/metrics"

            dcgm = OpenMetrics(
                interface=interface,
                settings=settings,
                shutdown_event=shutdown_event,
                name="dcgm",
                url=url,
            )

>           assert dcgm.is_available(url)
E           AssertionError: assert False
E            +  where False = is_available('http://localhost:9400/metrics')
E            +    where is_available = <wandb.sdk.internal.system.assets.open_metrics.OpenMetrics object at 0x7ffe8299a810>.is_available

/build/source/tests/pytest_tests/unit_tests/test_system_metrics/test_open_metrics.py:147: AssertionError

{
python3Packages,
writeText,
python,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The top-level python attribute is a deprecated alias, and that's detected by ofBorg eval. Perhaps just use python3Packages.python? (for easier overrides)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or you could remain with the previous way of just passing python3 and using python3.pkgs. (I don't know what's the best practice here)

@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Oct 8, 2024
@ofborg ofborg bot requested a review from tbenst October 8, 2024 11:18
@vcunat vcunat merged commit fba3090 into NixOS:master Oct 13, 2024
29 checks passed
@vcunat
Copy link
Member

vcunat commented Oct 13, 2024

Looks certainly better than not building.

@GaetanLepage GaetanLepage deleted the mlflow-master branch October 13, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants